RewriteEngine On

RewriteRule ^lang/([a-z]+)/(.*)$ ./lang.php?lang=$1&file=$2